home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / prom216.zip / SEND_Z.BAT < prev    next >
DOS Batch File  |  1993-05-30  |  3KB  |  92 lines

  1. @ECHO OFF
  2. ::
  3. ::┌──────────────────────────────────────────┐
  4. ::│ Parameters that are passed to batch file │
  5. ::└──────────────────────────────────────────┘
  6. ::
  7. :: %1 = COM Port (Such as 1 or 2) Can be used with DSZ port command
  8. ::
  9. :: %2 = Caller Connect Speed Like '2400' if not Locked
  10. :: or
  11. :: %2 = Locked Baud Rate Like: '19200' if Locked
  12. ::
  13. :: %3 = Full path+filename to file being Downloaded Like: 'L:\001A\FILE.ZIP'
  14. ::
  15. :: %4 = Time remaining this call
  16. ::
  17. :: %5 = Actual Baud Rate
  18. ::
  19. ::┌─────────────────────────────────────────┐
  20. ::│ Switches for use with Optional PonyTRAN │
  21. ::└─────────────────────────────────────────┘
  22. ::
  23. :: /B BaudRate  Baudrate
  24. :: /C #         Comport name   [default = 1]
  25. :: /T           Transmit mode  [default]
  26. :: /R           Receive mode
  27. :: /S           ASCII transfer
  28. :: /X           Xmodem/XmodemCRC [default]
  29. :: /K           Xmodem1K
  30. :: /L           Xmodem1KG
  31. :: /Y           Ymodem
  32. :: /G           YmodemG
  33. :: /Z           Zmodem
  34. :: /A           Zmodem option - resume interrupted transfer
  35. :: /O           Zmodem option - always overwrite files
  36. :: /N           Zmodem option - only overwrite if newer
  37. :: /F           Kermit
  38. ::
  39. ::┌───────────────────────────────────────────────────┐
  40. ::│ For Standard Ports using optional PONYTRAN ZModem │
  41. ::└───────────────────────────────────────────────────┘
  42. PONYTRAN /C %1 /B %5 /T /Z /O %3
  43. ::
  44. ::
  45. ::┌─────────────────────────────────────┐
  46. ::│ For Standard Ports using DSZ ZModem │
  47. ::└─────────────────────────────────────┘
  48. :: DSZ port %1 sz %3
  49. ::
  50. ::
  51. ::┌─────────────────────────────────────┐
  52. ::│ For Standard Ports using GSZ ZModem │
  53. ::└─────────────────────────────────────┘
  54. :: GSZ port %1 sz %3
  55. ::
  56. ::
  57. ::┌────────────────────────────────────────────────────────────────────┐
  58. ::│ For Non-Standard Ports you need to use DSZ INSTEAD of PonyTran     │
  59. ::│ and make sure you have a NSPORT.### file setup for THAT NODE!      │
  60. ::│ This example sets up ALL Nodes as Standard and Node2 as Com3, Irq5 │
  61. ::│ You will have to setup this format for ANY & ALL SEND_?.BAT's      │
  62. ::└────────────────────────────────────────────────────────────────────┘
  63. :: if %WCMDM% == node2.mdm GOTO ODD
  64. ::
  65. :: REM IF NOT NON-STANDARD USE PONYTRAN
  66. :: PONYTRAN /C %1 /B %5 /T /Z /O %3
  67. :: GOTO END
  68. :: 
  69. :: REM IF NON-STANDARD THEN ONLY DSZ AVAILABLE!
  70. :: :ODD
  71. :: DSZ port3 03e8,5 sz %3
  72. :: :END
  73. ::
  74. ::
  75. ::┌────────────────────────────────────────────────────────────────────┐
  76. ::│ For Non-Standard Ports you need to use GSZ INSTEAD of PonyTran     │
  77. ::│ and make sure you have a NSPORT.### file setup for THAT NODE!      │
  78. ::│ This example sets up ALL Nodes as Standard and Node2 as Com3, Irq5 │
  79. ::│ You will have to setup this format for ANY & ALL SEND_?.BAT's      │
  80. ::└────────────────────────────────────────────────────────────────────┘
  81. :: if %WCMDM% == node2.mdm GOTO ODD
  82. ::
  83. :: REM IF NOT NON-STANDARD USE PONYTRAN
  84. :: PONYTRAN /C %1 /B %5 /T /Z /O %3
  85. :: GOTO END
  86. ::
  87. :: REM IF NON-STANDARD THEN ONLY DSZ AVAILABLE!
  88. :: :ODD
  89. :: GSZ port3 03e8,5 sz %3
  90. :: :END
  91.  
  92.